package com.ynet.finmall.inmanage.model;

import java.io.Serializable;
import java.util.Date;

public class ImRole implements Serializable {
    /**
     * 角色ID
     */
    private String roleId;

    /**
     * 企业ID
     */
    private String companyId;

    /**
     * 渠道号
     */
    private String channelNo;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 角色描述
     */
    private String roleDesc;

    /**
     * 0：正常 1：冻结 2：删除
     */
    private String status;

    /**
     * 记录创建时间
     */
    private Date createTime;

    /**
     * 记录更新时间
     */
    private Date updateTime;

    /**
     * 最后修改人
     */
    private String roleUpdateUser;

    /**
     * 0：局部  1：全部
     */
    private String roleHaveData;

    /**
     * 备注
     */
    private String remark;

    private static final long serialVersionUID = 1L;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId == null ? null : roleId.trim();
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId == null ? null : companyId.trim();
    }

    public String getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo == null ? null : channelNo.trim();
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getRoleDesc() {
        return roleDesc;
    }

    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc == null ? null : roleDesc.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRoleUpdateUser() {
        return roleUpdateUser;
    }

    public void setRoleUpdateUser(String roleUpdateUser) {
        this.roleUpdateUser = roleUpdateUser == null ? null : roleUpdateUser.trim();
    }

    public String getRoleHaveData() {
        return roleHaveData;
    }

    public void setRoleHaveData(String roleHaveData) {
        this.roleHaveData = roleHaveData == null ? null : roleHaveData.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", roleId=").append(roleId);
        sb.append(", companyId=").append(companyId);
        sb.append(", channelNo=").append(channelNo);
        sb.append(", roleName=").append(roleName);
        sb.append(", roleDesc=").append(roleDesc);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", roleUpdateUser=").append(roleUpdateUser);
        sb.append(", roleHaveData=").append(roleHaveData);
        sb.append(", remark=").append(remark);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}